@import "config";
@import 'animation';
@import 'beautiful';
@import 'mixin';
@import "media";
@import "bootstrap";
/* 使用变量 */
* {
  scroll-behavior:smooth;// 平滑滚动
}
body {
  //background-color: $bgcolor;
  margin: 0;
  width: 100%;
  color: $textcolor5;
  font-size: $fontsize5;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
.title-white{
  font-size: $fontsize4;
  color: $textcolor7;
}
//登录样式
.paper{
  @include flexHeightEvenly;
  background: $doctorImage,$loginImage;
  background-size: 100vw 100vh;
  height: calc(100vh - 0.2px);
}
.copy-right{
  color: $textcolor2;
}
.login-container {
  border-radius: $radius2;
  background-clip: padding-box;
  width: 350px;
  padding: 35px 35px 15px 35px;
  backdrop-filter: blur(30px);
  box-shadow: 0 0 10px $textcolor0;
  transition: all .5s;
  z-index: 10;
  &:hover{
    box-shadow: 0 0 20px $textcolor0;
  }
}

.login_title {
  margin: 0 auto 40px auto;
  text-align: center;
  color: $textcolor4;
}

//404
.head404 {
  width: 100%;
  height: 100vh;
  background: url("../assets/images/notfound.png") #30393c no-repeat;
  background-position: 50% 30%;
  background-size: 50%;
}

/*user index主页样式*/
//navigate
.user-navigate{
  padding: 0;
}
.navigate-main{
  background: #ffffff;
  user-select: none;
  padding: 0 1%;
  margin: 0;
  height: 100%;
  z-index: 10;
  .navigate-title{
    font-size: $fontsize5;
    font-weight: bold;
    color: $styleColor;
  }
  .navigate-menu{
    font-size: $fontsize8;
    font-weight: bold;
    overflow: hidden;
    background: #ffffff;
  }
  .navigate-menu-title {
    @include gridCenter;
    color: $styleColor;
  }
}

.user-index{
  padding: 0;
  margin: 0;
  width: 100vw;
  height: calc(92vh);
  background: $doctorImage no-repeat;
  background-size: 60% 80%;
  background-position: 110% 100%;
  box-sizing: border-box;
  border-top: 30px solid $styleColor;
}
.user-index-card-box{
  padding: 10px 0;
  width: 100%;
  height: calc(100vh - 130px);
  overflow: auto;
}
.form-select{
  height: 100%;
  @include flexCenter;
}
.user-userinfo {
  padding: 30px;
  & .edit-button{
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
    & > button {
      width: 40%;
    }
  }
  //background: #1a5b59;
}

// 病历列表布局
.medical-position{
  height: calc(100vh - 100px);
  .medical-search{
    @include flexSpaceBetween;
    position: sticky;
    top: 0;
    padding-right: 60%;
    z-index: 99;
  }
}
//病历摘要卡片
.medical-card{
  @include flexSpaceBetween;
  margin: 10px 0;
  padding: 10px 0;
  border-radius: 10px;
  box-shadow: 0 0 5px #8B8B8BFF;
  transition: box-shadow .5s;
  flex-wrap: nowrap;
  backdrop-filter: blur(30px);
  &:hover{
    box-shadow: 0 0 8px #8B8B8BFF;
  }
  & .hospital-info{
    display: flex;
    font-size: $fontsize5;
    color: $styleColor ;
    & > div {
      @include textExceed;
      text-align: left;
    }
  }
  & .medical-summary,.medical-time{
    max-width: 90vw;
    min-height: 40px;
    line-height: 40px;
    font-size: $fontsize6;
    color: $textcolor5;
    @include textExceed;
  }
}

//医院管理端
.admin-header{
  width: 100%;
  height: 10vh;
  background-color: #909399;
  padding: 0;
}
.admin-aside{
  width: 20%;
  height: calc(100vh - 60px);
  float: left;
  background-image: linear-gradient(to right, rgb(65,149,229), rgb(177,195,215));
  color: white;
}
.admin-main{
  width: calc(100vw - 250px);
  height: calc(100vh - 60px);
  overflow-y: auto;
  background-color: #edecec;

}
.admin-menu{
  //background-color: $styleColor;
  background-image: linear-gradient(to right, rgb(65,149,229), rgb(177,195,215));
  //opacity: 0.5;
  color:#fff;
  //active-text-color:#196DB9;
}

.el-icon-doctor{
  background: url("../assets/icon/医生.png") center no-repeat;
  background-size: 100% 100%;
}
.el-icon-doctor:before{
  content: "自定义医生图标";
  visibility: hidden;
}
.el-icon-department{
  background: url("../assets/icon/全科.png") center no-repeat;
  background-size: 100% 100%;
}
.el-icon-department:before{
  content: "自定义科室图标";
  visibility: hidden;
}
.el-icon-record{
  background: url("../assets/icon/病历调阅.png") center no-repeat;
  background-size: 100% 100%;
}
.el-icon-record:before{
  content: "自定义病历图标";
  visibility: hidden;
}
.el-icon-daily{
  background: url("../assets/icon/医院管理.png") center no-repeat;
  background-size: 100% 100%;
}
.el-icon-daily:before{
  content: "自定义管理图标";
  visibility: hidden;
}
.el-icon-quit{
  background:url("../assets/icon/退出.png") center no-repeat;
  background-size: 20% 110%;
}
.el-icon-quit:before{
  content: "自定义退出图标";
  visibility: hidden;
}
.el-icon-me{
  background:url("../assets/icon/我的小.png") center no-repeat;
  background-size: 100% 100%;
}
.el-icon-me:before{
  content: "自定义我的图标";
  visibility: hidden;
}
.my-col{
  width: 100%;
  height: 100%;
  //background-color: $styleColor;
  //opacity: 0.7;
}

//管理端登录样式
.admin{
  @include flexHeightEvenly;
  background:$hospitalImage;
  background-size: 100vw 100vh;
  height: calc(100vh - 0.2px);
}
.AdminLogin-container {
  border-radius: $radius2;
  background-clip: padding-box;
  width: 350px;
  padding: 35px 35px 15px 35px;
  backdrop-filter: blur(30px);
  box-shadow: 0 0 10px $textcolor0;
  transition: all .5s;
  z-index: 10;
  &:hover{
    box-shadow: 0 0 20px $textcolor0;
  }
}
.AdminLogin_title {
  margin: 0 auto 40px auto;
  text-align: center;
  color: $textcolor4;
}
//医院管理端医生管理页面样式
.doctor-main{
  display: flex;
  flex-wrap: wrap;
}
.doctor-header{
  width: 100%;
  display: flex;
}
.search_input{
  width: 50%;
}
.add_button{
  width: 20%;
  float: right;
  //background-color: #4195e5;
}
.add{
  background-color: #4195e5;
  color: white;
}
.doctor-card{
  max-width: 10vw;
  padding-bottom: 5px;
  @include flexCenter;
  flex-direction: column;
  margin-right: 20px;
  margin-bottom: 20px;
  & > .el-card__body{
    padding: 0;
  }
}
//.el-card:hover{
//  margin-bottom: -5px;
//}
.card_list {
  overflow-y: auto;
  width: 100%;
}
.info-container{
  width: 100%;
  flex: 1;
}
.image {
  width: 100%;
  height: 66%;
  flex: 2;
}
.doctor-row{
  display: flex;
  margin-bottom: 20px;
  margin-top: 10px;
  &:last-child {
    margin-bottom: 0;
  }


}
.bottom {
  width: 100%;
  margin-top: 20px;
  line-height: 10px;
  float: left;
}
.bottom-left{
  width: 50%;
  float: left;
}
.bottom-right{
  width: 50%;
  float: right;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both
}
